home *** CD-ROM | disk | FTP | other *** search
- DEL Used to DELETE (or remove) a file.
-
- Format: DEL [D:Path]FileSpec
-
- Example: DEL MYFILE.TXT
-
- Deletes the file named MYFILE.TXT that resides on
- the CURRENT (default) directory.
-
- Example: DEL A:MYFILE.TXT
-
- Deletes the file named MYFILE.TXT that resides on
- the diskette in drive A.
-
- Example: DEL *.*
-
- Deletes ALL files contained in the CURRENT directory
- that are not marked as READ-ONLY, HIDDEN, or SYSTEM.
- Example: DEL D:\WP\*.TXT
-
- Deletes ALL files with a .TXT extension that reside
- in the \WP directory on drive D.
-
- Example: DEL MYFILE.???
-
- Deletes ALL files with file name of MYFILE.??? (???
- means that extension can be anything) that reside in
- the CURRENT directory.
-
- Example: DEL A:*.*
-
- Deletes ALL files contained on the diskette in drive
- A: that have NOT had the attribute set as READ-ONLY
- by using the ATTRIB command.
-
-
- Example: DEL C:\CAL\01*.*
-
- Deletes ALL files that have a file name beginning
- with the characters "01" that reside in the \CAL
- directory on drive C:
-
- Example: DEL D:\CAL\01*.BAK
-
- Deletes ALL files that have a file name beginning
- with the characters "01" AND have an extension of
- .BAK that reside in the \CAL directory on drive D.
-
- Example: DEL \CAL\?1*.*
-
- Deletes ONLY those files that have a file name that
- contains the character "1" as the SECOND character
- in its name that reside in \CAL directory on the
- CURRENT drive.
- Example: DEL A:???S?.C*
-
- Deletes ONLY those files that have a file name with
- total of 4-5 characters AND have the character "S"
- as the FOURTH character in its name AND has an ext
- that begins with character "C" that reside on the
- diskette in drive A.
-
-
- [*] Files that have been removed using the DEL command
- are not actually PHYSICALLY erased from the disk or
- diskette. The are simply marked as being deleted and
- will not appear when a DIR command is issued. These
- files can be UNDELETED by using certain disk utility
- programs.
-
- [*] You can NOT delete files that have been marked as
- READ-ONLY by using the ATTRIB command.